package sg.edu.ntu.metaweb.pastry.messages;

import rice.p2p.commonapi.Id;
import rice.p2p.commonapi.Message;

public class ResponseWebpageDataMessage extends MetawebMessage {

	String webpageData;
	  
	public ResponseWebpageDataMessage(Id sender, Id targetID, int requestID, String webpageData) {
	    super(sender, targetID, requestID);
	    this.webpageData = webpageData;
	}
	  
	public int getPriority() {
	    return Message.LOW_PRIORITY;
	}

	public String getWebpageData() {
		return this.webpageData;
	}
}